home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_153_when.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  415 b   |  9 lines

  1. when true-or-false-instruction-list instruction-list
  2.  
  3. Starts a parallel process that repeatedly tests whether the first instruction list reports true or false. If it reports true, the second instruction list is run. To stop a when, use cancel (only on the true-or-false-instruction-list ), choose Stopall or Cancel from the Edit menu, or press Ô£ø- . (period).
  4.  
  5. Example:
  6.  
  7. when [ycor > 50][bk 20]
  8. repeat 1000 [fd 1]
  9.